package lxcm.backfont.Controller;

import lxcm.backfont.entity.CommonRequest;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RestController;

import javax.sql.CommonDataSource;

/**
 * @author agrinJPG
 * @date 2021/7/5 14:31
 * @Description lxcm.xyz 主页控制器
 */
@RestController
public class homeController {
    // 范例
    @PostMapping("/")
    public String oneApi(@RequestBody CommonRequest request){
        String message1 = request.getMessage1();
        return "Null";
    }
}
